curl --request POST \
--url https://api-lr.agent.ai/v1/action/file_converter_watermark_action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_file_url": "<string>",
"input_format": "pdf",
"text": "<string>",
"output_variable_name": "watermarked_file"
}
'{
"status": 123,
"response": {}
}Add a text watermark (e.g. CONFIDENTIAL, DRAFT) to a PDF or image file.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/file_converter_watermark_action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_file_url": "<string>",
"input_format": "pdf",
"text": "<string>",
"output_variable_name": "watermarked_file"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)
S3 or public URL of the file to watermark.
Extension of the input file (e.g. pdf, png, jpg).
Text to overlay (e.g. CONFIDENTIAL, DRAFT).
Variable name for the result.
^[a-zA-Z][a-zA-Z0-9_]*$